package com.lovo.roomProject.room.dao;

import com.lovo.roomProject.pojo.ClasszDO;
import com.lovo.roomProject.pojo.CutPageBean;
import com.lovo.roomProject.pojo.RoomDO;

import java.sql.SQLException;
import java.util.List;

public interface RoomDAO {
    List listRoom();
    List listRoom(int id);
    List listRoom(String type);
    void insert(RoomDO roomDO);
    RoomDO fillRoom() throws SQLException;
    CutPageBean listRoomPage(int current,String addr,String status,String can,String type);
    RoomDO getRoomID(int id);
    void delete(int id);
}
